-
Notifications
You must be signed in to change notification settings - Fork 711
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Idemix MSP Folder Structure incompatible with what Fabric expects #303 #304
Conversation
if val.CurveID == "" { | ||
val.CurveID = idemix4.DefaultIdemixCurve |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't we still have to handle the blank val.CurveID?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
that field is not needed anymore
// CurveID specifies the name of the Idemix curve to use, defaults to 'amcl.Fp256bn' | ||
CurveID string `protobuf:"bytes,7,opt,name=curve_id,json=curveID" json:"curveID,omitempty"` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CurveID was recently added by Yacov, don't we need it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, but we don't need this field. It is never used and does not offer any advantage at the current stage.
The SignerConfig struct here is just a copy of the same struct in the Idemix lib.
@denyeart , thanks for you feedback. Please, let me know if the answers to your questions make sense. |
…erledger#303 Signed-off-by: Angelo De Caro <[email protected]>
…cts hyperledger#303 Signed-off-by: Angelo De Caro <[email protected]>
Signed-off-by: Angelo De Caro <[email protected]>
Signed-off-by: Angelo De Caro <[email protected]>
Signed-off-by: Angelo De Caro <[email protected]>
Signed-off-by: Angelo De Caro [email protected]
Type of change
Description
Currently, Fabric-CA generates an Idemix MSP folder structure and file content that Fabric is not able to load.
Namely:
SignerConfig
is encoded in json, Fabric expected protoRevocationPublicKey
andIdemixRevocationPublicKey
.Additional details
Related issues
#303